var layerIndex;

var timeout = 1;

var editor = ace.edit('editor');

editor.setOptions({
    enableBasicAutocompletion: true,
    enableSnippets: true,
    enableLiveAutocompletion: true
});

editor.setTheme('ace/theme/solarized_dark');

editor.session.setMode('ace/mode/java');

editor.setShowPrintMargin(false);

editor.setFontSize(18);